package com.ycx.ycxmybatismanagement.mapper;

import com.ycx.ycxmybatismanagement.entity.EmpLoginLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LoginLogMapper {
    @Insert("INSERT INTO emp_login_log (username, password, login_time, is_success, jwt, cost_time) " +
            "VALUES (#{username}, #{password}, #{loginTime}, #{isSuccess}, #{jwt}, #{costTime})")
    public void addLoginLog(EmpLoginLog empLoginLog);
}
